package com.epalmpay.service.bonus;

import com.epalmpay.dto.bonus.BonusRuleInDTO;
import com.epalmpay.dto.bonus.BonusRuleIndexOutDTO;
import com.epalmpay.dto.bonus.BonusVerifyLogListOutDTO;
import com.epalmpay.dto.bonus.ShopBonusVerifyRule;
import com.epalmpay.dto.system.BaseOutDTO;
import com.epalmpay.entity.BonusSendRule;
import com.epalmpay.entity.BonusVerifyRule;
import com.epalmpay.entity.Page;
import com.epalmpay.entity.Response;

import java.util.List;
import java.util.Map;

/**
 * Created by lifayi on 2017/9/22.
 */
public interface IBonusRuleService {
    BonusRuleIndexOutDTO index(Long groupId);

    BaseOutDTO sendDefaultAdd(BonusSendRule bonusSendRule);

    BaseOutDTO verifyDefaultAdd(BonusVerifyRule bonusVerifyRule);

    BaseOutDTO industryRuleDel(Map<String, Object> params);

    Object industryRule(Map<String, Object> params);

    BaseOutDTO sendIndustryAdd(BonusSendRule bonusSendRule);

    BaseOutDTO verifyIndustryAdd(BonusVerifyRule bonusVerifyRule);

    List<Map> getAllIndustry();

    Void verifyBonusAdd(ShopBonusVerifyRule bonusVerifyRule)throws Exception;

    BonusRuleIndexOutDTO shopBonusindex(ShopBonusVerifyRule bonusVerifyRule);

    BonusRuleIndexOutDTO goAddVerifyRule(ShopBonusVerifyRule bonusVerifyRule)throws Exception;


    List<Map> getAllShop(Long groupId);

    BonusRuleIndexOutDTO shopVerifyRuleList(BonusRuleInDTO bonusRuleInDTO, Page page)throws Exception;
}


